package org.hk.proxy.common.json;

import com.google.gson.Gson;

public class JSON {
    public static final Gson GSON = new Gson();
    public static <T> T parseObject(String json,Class<T> t){
        return GSON.fromJson(json,t);
    }
    public static String toJSONString(Object obj){
        return GSON.toJson(obj);
    }
}
